/*
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2014
 *
 * fileName:  Deserialize.java
 * author:  lei
 * Company:  Cloudland Studio
 * Createdate:  2013-9-20 上午10:13:14
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2013-9-20          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.udap.database;

import java.util.List;

 /**
 * <pre> 
 * 数据库反序列化接口。
 * </pre>
 * @ClassName  Deserialize
 * @author  lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public interface Deserialize<L> {
	
	/** 
     * 根据指定的编号，查询对象
     *
     * @param id
     * @return 
     */
    L findById(String id);
    
    /** 
     * 返回表所有记录
     *
     * @return 
     */
    List<L> findAll();

}
